package com.huxun.vhr.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Integer id;

    private String name;

    private String gender;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    private Date birthday;

    private String idCard;

    private String wedlock;

    private Integer nationId;

    private String nativePlace;

    private Integer politicId;

    private String email;

    private String phone;

    private String address;

    private Integer departmentId;

    private Integer jobLevelId;

    private Integer posId;

    private String engageForm;

    private String tiptopDegree;

    private String specialty;

    private String school;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    private Date beginDate;

    private String workState;

    private String workID;

    private Double contractTerm;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    private Date conversionTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    private Date notWorkDate;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    private Date beginContract;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/shanghai")
    private Date endContract;

    private Integer workAge;

    private Nation nation;
    private JobLevel jobLevel;
    private Position position;
    private Politicsstatus politicsstatus;
    private Department department;

}